import request from '@/utils/request'

export function page(query) {
  return request({
    url: '/api/adminPayCore/admin/payChannelConfig/list',
    method: 'post',
    data: query
  })
}

export function getInfo(obj) {
  return request({
    url: '/api/adminPayCore/admin/payChannelConfig/info',
    method: 'post',
    data: obj
  })
}

export function add(obj) {
  return request({
    url: '/api/backpay/admin/payChannelConfig/add',
    method: 'post',
    data: obj
  })
}

export function update(obj) {
  return request({
    url: '/api/backpay/admin/payChannelConfig/update',
    method: 'post',
    data: obj
  })
}

export function deleteObj(obj) {
  return request({
    url: '/api/backpay/admin/payChannelConfig/delete',
    method: 'post',
    data: obj
  })
}

